{extend name="./template/default/pc/pub/base.html" /}
{block name="seo"}
<title>小说排行榜-{$site_name}</title>
{/block}
{block name="main"}
<div class="body-bg" id="app">
    <div class="wrap">
        <div class="containerbox">
            <div class="block10"></div>
            <div class="wrap1200 ranklist">
                <div class="leftbarlist fl">
                    <ul>
                        <li class="{$op == 'new' ? 'on' : ''}">
                            <a href="/{$rank_ctrl}?cate=new">新书榜</a>
                        </li>
                        <li class="{$op == 'click' ? 'on' : ''}">
                            <a href="/{$rank_ctrl}?cate=click">点击榜</a>
                        </li>
                        <li class="{$op == 'end' ? 'on' : ''}">
                            <a href="/{$rank_ctrl}?cate=end">完结榜</a>
                        </li>
                    </ul>
                </div>
                <div class="right-cont-box fr ranklistdata">
                    <div class="rankdatacont">
                        {volist name="books" id="vo" length="10"}
                        <div class="secd-rank-list rank">
                            <dl>
                                <dt>
                                    <a href="/{$book_ctrl}/{$vo.param}" target="_blank">
                                        <img src="{$vo.cover_url}" style="display: block;">
                                    </a>
                                </dt>
                                <dd>
                                    <a href="/{$book_ctrl}/{$vo.param}" class="bigpic-book-name" target="_blank">
                                        <span class="num red">{$i}</span>{$vo.book_name}
                                    </a>
                                    <p>
                                        <a>
                                            {$vo.words}万字
                                        </a>
                                        <a href="/{$booklist_act}?cate={$vo.cate_id}" target="_blank">
                                            {$vo.cate.cate_name}
                                        </a> |
                                        {$vo.end == 1 ? '已完结' : '连载中'}
                                        <span class="clicknum">{$vo.clicks|default=0} 点击</span>
                                    </p>
                                    <p class="big-book-info">{$vo.summary}</p>
                                    <p>
                                        <a href="/{$search_ctrl}/{$vo.author_name}" target="_blank" class="red">
                                             {$vo.author_name}
                                        </a>
                                        <span>| {$vo.last_time|date='Y-m-d H:i'}</span>
                                    </p>
                                </dd>
                            </dl>
                            <div class="bigbtn">
                                <a href="/{$book_ctrl}/{$vo.param}" class="detailbtn" target="_blank">书籍详情</a>
                            </div>
                        </div>
                        {/volist}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{/block}